package Com.HupochuanAdmin.Uil.Do;

import java.util.List;

import Com.Hupochuan.Uil.Servlet.DoRunServlet;
import Com.Hupochuan.Vo.Area;
import Com.HupochuanAdmin.Dal.Tab.AreaTab;
import Com.Tester.Tester;

@SuppressWarnings("serial")
public class AreaListDo extends DoRunServlet{
	public void doRun(){
		
		//打印测试
		Tester.print("打印测试 - AreaListDo");
		
		//获得数据
		List<Area> areaList = AreaTab.getObject().findAreaList();
		
		//设置数据
		this.getDoTool().setAttr("areaList", areaList);
		
		//转发jsp页面
		this.getDoTool().forward("/jsp/admin/areaList.jsp");
	}
}
